package com.mallcloud.mall.admin.api.dto;

import com.mallcloud.mall.admin.api.entity.SysUser;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@ApiModel(value = "MallUserInfoModel",description = "用户信息")
@Data
public class UserInfo implements Serializable {

	@ApiModelProperty(value = "用户基本信息")
	private SysUser sysUser;

	@ApiModelProperty(value = "权限标识集合")
	private String[] permissions;

	@ApiModelProperty(value = "角色标识集合")
	private Long[] roles;

}
